	function trim(str)
	{
		return str.replace(/\s+$|^\s+/g,"");
	}
	function check_info()
	{
		if (trim(document.check_edit_info.password.value) != trim(document.check_edit_info.true_password.value))
		{
			alert("两次输入的密码不一致！");
			return false;
		}
		if (trim(document.check_edit_info.realname.value)=='')
		{
			alert("真实姓名不能为空！");
			return false;
		}
		if (trim(document.check_edit_info.tel.value) == '')
		{
			alert("电话号码不能为空！");
			return false;
		}
		if (trim(document.check_edit_info.email.value) == '')
		{
			alert("电子邮箱不能为空！");
			return false;
		}
	}